package com.ay277.htqoa.base.entity;

import com.ay277.htqoa.staff.entity.Emp;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by accp09 on 2016/12/7.
 */
@Entity
@Table(name = "tb_User")
public class User extends IDEntity {
    //工号
    private String userId;
    //密码
    private String pwd;
    //注册时间
    private Date createTime;
    //最后一次登录时间
    private Date outTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getOutTime() {
        return outTime;
    }

    public void setOutTime(Date outTime) {
        this.outTime = outTime;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}
